package com.miao.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: 丰
 * @date: 2023/3/6 9:29
 */
@Data
@ApiModel("聊天消息视图类")
public class ChatMsgVo {

    @ApiModelProperty(name = "接收方id", example = "1")
    private Integer toUserId;

    @ApiModelProperty(name = "接收方昵称", example = "丰")
    private String userName;

    @ApiModelProperty(name = "最后一条聊天信息", example = "1")
    private String lastMsg;

    @ApiModelProperty(name = "最后一次的联系时间", example = "1")
    private String lastTime;

}
